package com.lcq.study.common;

import java.util.Arrays;

/**
 * @ClassName CastTest
 * @Description
 * @Author lichuanqi
 * @Date 2022/12/13 19:39
 * @Version 1.0
 **/
public class CastTest {
    public static void main(String[] args) {
        String[] strings = {"111","222", "333"};
        Object o = strings;

        String[] strings1 = (String[]) o;

        Arrays.stream(strings1).forEach(str-> System.out.println(str));
    }
}
